<?php
/*
Template Name: 7. ShopperPress Orders
*/


$wpdb->hide_errors(); auth_redirect_login(); nocache_headers();

global $userdata; get_currentuserinfo(); // grabs the user info and puts into vars

 
get_header(); 
 
?>

 
<h2 class="h2top"><?php echo SPEC($GLOBALS['_LANG']['_zz12']) ?></h2><br />
<h3><?php echo SPEC($GLOBALS['_LANG']['_zz13']) ?></h3>
<p><?php echo SPEC($GLOBALS['_LANG']['_zz14']) ?></p>

 <table id="gradient-style">
    <thead>
    	<tr>
        	<th scope="col">Order ID</th>
            <th scope="col">Qty</th> 
            <th scope="col"><?php echo SPEC($GLOBALS['_LANG']['_zz15']) ?></th>
            <th scope="col"><?php echo SPEC($GLOBALS['_LANG']['_zz16']) ?></th>             
            <!--<th scope="col" align="center">Actions</th>-->
        </tr>
    </thead>
    <tbody>
		
 <?php echo shopperpress_GetMyOrders($user_ID); ?>
    </tbody>
</table>
 
 

<?php get_footer(); ?>